package com.seguriapp.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Represents the main controller for the application
 * 
 * @author Tania Gonzales(taniadgv@gmail.com)
 */
@Controller
@RequestMapping("/")
public class MainController {

  private static final Logger LOGGER = Logger.getLogger(MainController.class);

  @RequestMapping(value = "/", method = RequestMethod.GET)
  public String mainController() {
    LOGGER.info("Main controller");
    return "index";
  }

}
